Generator test, unfinished