Add test for overloading of character exceptions