Throw an exception on error so that the grunt task can fail
Don't curl during test phase