Fix for tests under Node 0.8.