Handle missing dict_of_lists method for unit tests.