Check repeat flag setting in test