Update testmod.js

Update to testmod.js so it follows the standards the current module code runs with.
Merge pull request #35 from MrRatermat/patch-17

Update testmod.js