fixed test case will occur a error in NodeJS 0.8

fixed test case will occur a error in NodeJS 0.8