Added tests for character class