DRYing of test samples for autoyast test