Registry throws error on already set keys


Between tests the registry seems to persist, so clean it before every dispatch.

Maybe you like to clean it before every test. But I don't know if that makes sense.