Added setter for isDeleted
Improved code coverage