Figuring out why this test is timing out