fixed test bug, the NODE_ENV for testing in gruntfile.js should be test, instead of TEST