Test environment more specifically.

Fixes #239

@greg-1-anderson: this should remove the need to remove the disabled_functions line from php.ini