Separate transactions from history in testing