fix transaction tests