The new way of declaring a contact is as follows:

self.Contact_1 = MockContact()  # This creates a contact with random data

If you want the contact to have certain info:

 self.Contact_1 = MockContact(tel = [{'type': 'Mobile', 'value': '11111111'}, {'type': 'Mobile', 'value': '222222222'}] )

The valid fields are: givenName, familyName, name, email, tel, adr, note