RulesRepository repo = new RulesRepository( TestEnvironmentSessionHelper.getSession( true ) );
PackageItem pkg = repo.createPackage("testCategoryFeed", "");
repo.loadCategory("/").addCategory("testCategoryFeedCat", "");
AssetItem asset = pkg.addAsset("asset1", "desc");
asset.updateFormat("drl");
asset.updateCategoryList(new String[] {"testCategoryFeedCat"});
asset.checkin("");
//try again with bad password
HashMap<String, String> headers = new HashMap<String, String>() {