fix test for PHP 5.3
Merge pull request #63 from mikey179/master

fix test for PHP 5.3