If you find one of the two of you stops paying attention split the responsibilities by letting one programmer write the tests while the other writes the code