marks card generation test