fixed tests, so that they pass on node 0.8