Trying an other way to compare cards and added a few more test cases