make grunt file more maintainable and a failed test