Some tests changed due to r.js output changes
Fixes #687, provide hook to override creation of script node: requirejs.createNode