Test for create
Fix test for destroy method