Fix contacts unit test