Tweaking gulpfile to make sure js finishes compiling before tests run