ticket:1 Implemented tests
Merge branch 't1_contacts'