Upgrade libs
Fix transactions support, add tests