Try to reduce running time of tests.