Implemented tests for create action.