Skip test_resize and test_resize_ if they hang