improved tests with repetition