Transaction write prediction (TDD'd!!)