tests: make tests work in node v0.6