Add tests for printv