Add helper method to RegisterRepeatedTest