Add test for RepeatedCharactersFilter

Put error-message in seperate variable

Rewrite on RepeatedCharacterTest