Updated create/delete/update tests with factory