Simplify constructing data of history tests.