The tests pass under both node and simplemocha when run under node 0.10.5 however they're failing on simplemocha only under node 0.8.22 (which is what travis is using).

    Error: Unknown encoding
      at Buffer.toString (buffer.js:440:13)
      at Object.fs.readFileSync (fs.js:236:33)
      at Context.original (/Users/peterf/Documents/intel/grunt-svgmin/test/svgmin_test.js:19:16)

According to the node source at Buffer.toString ([buffer.js:440:13](https://github.com/joyent/node/blob/v0.8.23/lib/buffer.js)), both "UTF-8" and "utf8" should be valid:

    encoding = String(encoding || 'utf8').toLowerCase();
    ...
    switch (encoding) {
      ...
      case 'utf8':
      case 'utf-8':
        return this.parent.utf8Slice(start, end);

I'm still trying to work out what the problem is.