Test of fragmentation models by comparison with three-jet events produced in e+e−→ hadrons