Fixing generator bugs

- Capitalizing module name to please jshint
- Fixing syntax error in new generated test