I could not find a solution for this, so I decided to create a new account in setUp() , run the tests and delete the account at the end. Thus, I can test operations with a real database, but in a different account. Therefore, I can run my tests, but without changing existing contacts.
source share