removing Deferred from tests