Added createOfflineTransactions handler + tests.