add tests for Cards