fixed test error for PHPUnit < 3.7.0