Add a test for another class transaction

Fix reported bug.
https://github.com/dtaniwaki/activerecord-after-transaction/issues/2