repeated characters test case added