grunt, tests work in browser, fail in cmd