Add test for creating transactions for new sessions.
Only update the users credit balance *after* the transaction has been recorded so that balances are never updated unless a corresponding transaction exists.