added test case on character class