unit test for controller create()