Add missing deferred return in test.