add test_generator
add builtin next() function