You could write this test byte back. Say you have a function to send a byte to the serial port, next just write one that reads this byte back. If you have more hardware debug devices, i.e., oscilloscope or you might try some leds on a breadboard, it also would help.
THere are serial port sniffers outthere too, just google for a good one.