add test: Transaction#index