Add tests for print injection.