Define test before referring to it. I know grunt evaluates this much later, but it's a good practice to define things before referring to them.