fixes for RBSerialMessages library and test code