Fixed env dependent test