convert module.js test files to AMD, refs #14279