add test method for create action method