Added test for deleting a character