fix test for cards publishing