implemented history test