update gulp files to return 1 when test fail