making size of test lists dynamic