Updates to make tests pass on node v0.10.25
Merge pull request #35 from lmorchard/node-10

Updates to make tests pass on node v0.10.25