Fix slow tests.