protected void setupKamStore(final String kamName) {
try {
final SystemConfiguration syscfg = createSystemConfiguration();
final DatabaseService dbs = new DatabaseServiceImpl();
dbc = dbs.dbConnection(syscfg.getKamURL(),
syscfg.getKamUser(), syscfg.getKamPassword());
ks = new KAMStoreImpl(dbc);
} catch (IOException e) {
e.printStackTrace();
fail("Could not read system configuration.");