Added RSPEC tests for TransactionController#index