Fix test directive when running gulp dev