Added non-db related exception tests

I had to also include a "bad configuration file" to the unittest directory in order to  implement one of these tests.