Bumping up PHPUnit dependency to 4.x and updating test suite to pass