add test for converting env values to correct types