add test for history (when start = end)