rename tests/main.js to reflect cli.js name
distinguish loading errors from module errors

see with --debug
Merge pull request #17 from isao/mod-debug

distinguish loading errors from module errors