Fix race condition in gulp before-tests