speed ups for tests