add test to delete license