Move the transaction to fix failing tests
Remove some ruby warnings
Merge pull request #12 from medius/fix-tests

Fix tests