fix tests on slower machines