Fixed deleting ticket tests.