fix errors in cards model
delete tests