finish tests
fix tests + add level interace
Merge branch 'master' of github.com:Raynos/evented-repository

* 'master' of github.com:Raynos/evented-repository:
  map records through the decoder