Added tests for Contact service. Issue: #370