Quick and dirty patchwork example working for reference
Add fairly pointless IdentityRepository test. Lots of monkey patching and mocks, not so many assertions.