add tests for exception classes

addresses issue #52

Something is very fishy with the code coverage report, as it says that for all the exception classes I'm testing, I'm not calling the getMessage() method, even though the tests very clearly do this...