Fix test with phpunit > 3.7

This PR allow phpunit > 3.7 to be used for running the test, it also work with phpunit 3.7.x versions.
Merge pull request #56 from joelwurtz/patch-1

Fix test with phpunit > 3.7