Fixed random cards test failure