Add test spec scaffolding to module sub-generator.
Small fix to module sub-generator.