Fix broken unit test

If node version is `0.8` or `0.10`, `npm test` broken