fixed a test case that may fail expectedly in slow testing mode.
added a (passing) test for github issue #208: coroutine as iterator doesn't work