Stop test from randomly failing