OperatingSystem.Builder osBuilder = OperatingSystem.builder().description("test");
ImageBuilder builder = new ImageBuilder().id("1").operatingSystem(osBuilder.build()).status(
org.jclouds.compute.domain.Image.Status.AVAILABLE).description("test");
OsFamily family = OsFamily.WINDOWS;
rpi.reviseParsedImage(from, builder, family, osBuilder);
OperatingSystem os = osBuilder.build();
assertEquals(os.getFamily(), OsFamily.WINDOWS);
assertEquals(os.getVersion(), "2008");
assertEquals(builder.build().getVersion(), "2012.03.13");
}