Add methods in CardList and CardListHelper, with corresponding tests.