added writing of test-output/version.txt