de-duping works for real

* I'm enjoying this
* TODO: reader monad for test configuration