Give tests a chance to wait for application to finish loading.