passing tests/method for non repeating characters.