add delete operation and add test data for create