Add tests for process_transactions of transaction model