Added tests for pim contacts issues