testDoTransaction