asset2.updateFormat("xml");
asset2.checkin("");
AssetItem asset3 = pkg.addAsset("asset3", "");
ByteArrayInputStream in = new ByteArrayInputStream("abc".getBytes());
asset3.updateBinaryContentAttachment(in);
asset3.updateFormat("xls");
asset3.checkin("");
assertTrue(asset3.isBinary());
assertFalse(asset1.isBinary());