fix test case on node@0.8