Fixes #1343 (4.1)

Resolves #1343 for PHPUnit 4.1