Generate a test that checks a new version has been assigned