Update testmod.js

Update to testmod.js so it follows the standards the current module code runs with.