Added repeatItem and repeatItems. Updated test.