update doh test to use deferred correctly.