Fixed some bugs. Added buttons to tests. Fixed size for card.