Fixed tests for compareCard
Fixed card comparison method
Added new error case
Merge branch 'compareCard-bugfix' into develop
fix #81