Adjusted tests to work better with NewRelic.
Upgraded tests for latest PHP versions.