added test spec.js to module subgenerator
added test spec.js to module subgenerator