BITMAG-1063: Fixed many tests, and made some new ones. Also improved IllegalOperationExceptions and the convertion of them into alarms.
BITMAG-1063: Added several tests for the message handling interface for the pillars.