made adjustsments so < PHP 5.3 could still be used with simpletest.