adjusting tests for nodejs 0.10