printing capture + tests