Added test to check that proceess_transaction only runs once.