Made it possible to customize test generation. Just add your own __testgen__.py to your source tree.