repeat_detection_run_test.py: Introduce tests for repeat_detection_run.py