More tests for error_dictionary