Wrote a test for user transactions