Tests for #transactions