Update tests and code to the new format of Build, Versions and Packages