test for create & delete