Added mod_list_reduce and tests.