fixed some tests for cards