added test cases for char classes