repairing the auto versioning and adding a test to make sure the version is properly substituted in the future