Card unit-test, samt CardFactory