fixing environment test hanging on prompt