Card model tests. Revision 2.