Fix error in test logging

grunt.error.writeln doesn't exist.