Add environment config tests