Command prompt fixes for grunt test runner.
Exit with an error code if a test fails to make grunt test fail.