Added a unit test for contactRepository-memory