tests: refactor the chai assertions

I'm doing this so that I can assert creating multiple modules, see upcoming commit...
feat: add moduleName option to generate only one module

Instead of loading module per template, you can load all the templates:
```js
module('foo');
```