increasing test coverage of update.py
increasing test coverage for defer.py