Add a unit test for messages with many signals.

This is a first attempt at finding the root cause of #306. It's passing
without any changes, so I think the problem must be in the hardware
specific parts of the code. I will work next on creating a functional
test.