Add test for character classes