Refac: change the way to get test data (refs #233416)