test environment parsing