initial tests on generator working