use system env
do regex matching for shellescaping tests
Merge pull request #233 from heroku/env

use system env