Impact of the chiral asymmetry and a magnetic field on the passage of an energetic test parton in a QCD medium