Fix the test, so that it also runs in PHP 5.3.x.
Merge pull request #1 from jacobsenj/master

PHP 5.3 compatibility for the test