WIP more robust test for MemoryError from Tree._resize

It seems Travis doesn't like my new test for `MemoryError`. I'm not sure what's going on, but the worker might be suffering from Linux's overallocation "feature" and filling all the RAM+swap before receiving a timeout. Let's see if this works better.