Tests of quark–hadron duality in τ-decays