Add support in AsyncTestCase for detecting undecorated generators.

Fix a test that was not being run because of this issue.