adding history buffer tests