add functions to add contacts to a list + tests