Added basic tests for contacts