fix the tests for contacts