Add test script
Fix on node 0.8