Bugfix/mock contacts problem

In this branch i have solved all out-of-date tests in relation to MockContacts.