try to get tests passing in node 0.6 and 0.8