add test for transaction history pagination