Use common infrastructure to record tests