Add count check to transaction update test