added cardealer and carddealertest, modified cardstack and cardstacktest