fixes unit test on contacts