Adding unit tests for autogenerated CRUD functions in a model