added transaction post handling with relevant test