Make test PHP 5.3 compatible
Merge pull request #50 from stesie/fix-test-for-php53

Make test PHP 5.3 compatible