Fix #100. Fixes rollback problem when outside a with statement
Fix coveralls for Travis