Adding unit tests for the card package.