testCategory = catalogService.findCategoryById(category.getId());
assert testCategory.getId().equals(category.getId());
Map<String, Media> categoryMedia = testCategory.getCategoryMedia();
Media media = new MediaImpl();
media.setAltText("test");
media.setTitle("large");
media.setUrl("http://myUrl");
categoryMedia.put("large", media);
catalogService.saveCategory(testCategory);
testCategory = catalogService.findCategoryById(category.getId());
assert(testCategory.getCategoryMedia().get("large") != null);