adding char frequency test