modified GruntTest