added test of delete lease