Code from the Zee Hearts Testing Lecture