fix history test