messageAdapterTest updated

Unit test functions added to messageAdapterTest.