Fixed Makefile, Added extra tests on format of messages plus unit tests to test the tests.