How would you check whether two strings are anagrams, and how would you design a testing framework for it?
Implement a case-sensitive function that treats every character, including spaces and punctuation, as significant. Describe a compact test strategy covering normal cases, boundary cases, and randomized validation.
is_anagram(s, t) accepts two strings and returns True if they contain identical character frequencies, otherwise False.
def is_anagram(s, t):