add test for RadioMessage.serialize

fixes #579