Fix failing test.
Re-wire calendar notes storage to use a BTree.

Add test coverage.