working tests for the browser, command line and Grunt