Client tests for contacts

And improved addContacts()