Added test cases for create, edit and destroy