test for error in add contact