Make tests works in any environment