Implemented test cases for Character class