[test]modules for add app to test
[test]call require with node-main set
Merge pull request #376 from owenc4a4/test

Test case for #371, a module for add app to test case