Add test for RepeatedCharactersFilter