Add a few tests with raising string exceptions.