Adding delay to tests makes local tests run