working on new history api and tests
14 files changed