Added non-standard old-style generator test

This tests for generators that use the JS 1.8 syntax - no asterisk by
the function keyword, and .next() returns an unwrapped value.