Make testing environment consistent.