waitFor - call the test before setInteval runs