made a test class for the ai comparator
added a test for the card class