Updated grunt build file to use a test build

Updated grunt build file to use a test build, so no build happens on
errors