added create and update tests for CRUD