Changed test to check for contacts nil