added generator tests
added generator tests
Merge pull request #28 from eclifford/generator-testing

Generator testing