Modified modules generator.Remove tests,use nose for new tests.