tests for create,edit,delete base