Fixed delete and added test case
Fixed add and added test case