Adding transaction tests