add history tests