TESTS: amend test in print-test.r to work under Windows