Cleaning up test modules generator.