History add and write confirmed
Combine statistics to take advantage of caching
Add statistics tests