Added some more tests and made a couple more functions in errors.dictionaries public