Updated tests to work with phpunit 4.3
Upgraded phpunit to 4.3
Merge pull request #304 from rexxars/phpunit-4.3

Make tests compatible with phpunit 4.3