Added MessageHandlerTest.

Also fixed/improved some methods in Power (equals(null) threw NPE,
amongst other).

Now there is complete code coverage for MessageHandler.