unit test for contact module