Unit test for version.txt creation