Study of heavy-flavor quarks produced in association with top-quark pairs at s =7TeV using the ATLAS detector