Fix webhook tests when using node 0.10
Merge pull request #325 from nanek/fix-node-10-tests

Fix webhook tests when using node 0.10