mock out user-env

since tests don't use real users