Making the CardTypeTest functional tests work