Testing manually setting environment