messagepost unittest
merging with Jaison's stuff
Fixed the dumb things
Fixed tests.