Improve the function name for addBatch (replaceSourceContacts) and improve test error handling