Fix tests. (Node 0.11 seems perhaps to be more sensitive to timing.)