Add test coverage for scope order error case
Include additional info for scope order error
Always define a module name
Fix callback on missing static file
Cleanup loadResource error message