AUI-1563 Create unit test for repeat