Unit tests for transactions + versions