Btw, var `i` is not defined here (so grunt test fails).