updated transaction tests