Added tests for deferred adaptor.