Added erase test cases