Replace test parameter with testName for fetching assigned variant