Cards test fix