history unit tests