Add card class with test