fix deleting test