add regenerator (only for tests)
Merge pull request #3 from stefanpenner/regenerator

Regenerator