Adding sleep to get the test to pass on all devices