Fix invalid Symbol.iterator test

The test was using Function() which implies global scope. Since
the test tries to access the local variable b there was a
ReferenceError.

Changed the test to use eval instead.