PHPunit passed but bug found on another testing PHP version. FIXED