You cannot retake the DLR-Test for any other Lufthansa Company, however other companies might think different and let you retry it. If you fail it for any lufty company (lh cityline, germanwings, lh italia, lh cargo or lh "classic") you might still get a chance at turkish airlines for example, or condor for that matter.