Fix error in test logging

grunt.error.writeln doesn't exist.

I think this is right. Can you confirm @subtleGradient an then I'll push this.