unit tests for terrific.renderModule
Use built-in JSON.parse
rearranging some tests