Error class is included in PHPUnit test