Added examples of testing for unique, using .errors field and mocking
database (mockDomain)