fixed test-case for node 0.8