ose: Fix dispatch tests and bugs

Also changes dispatch linked list to be a hash