Make tests work in the presense of different environmental conditions.