Make duplicate bindings harmless, and test.