make the test run without starting app

Current the test runs without starting app. but it's better to require the app.js in Gruntfile. Also it needs to export A127_APPROOT environment variable to find the config directory correctly.