fix tests for node 0.11