More tests -> more fixes. Also added toString methods to all message classes.