Added repository tests for create.