We can now add a unit test for addnew: true that should succeed, and one that should fail.