Modify tests, fix code in create action in controller, all tests passing