Separate message coding test in test/messagecoder.cpp