Another repetition test with more proper assert_repeat function
added a an assert_repeat function