delete(string) test

add testDelete() to test the method delete