test history API