Updated TestUtility to work with cards.