Make sure tests work with PHP 5.3
Merge pull request #4 from clue/fix-tests-php53

Make sure tests work with PHP 5.3