more work on testing and fixing golay_{en,de}code_packet()
functions.
fixed bugs in test of golay_{en,de}code_packet().