added tests for search and creating contacts