fix(card): add after loading of the card test
fix(card readme): call onGenerationComplete when readme file generated
feat(card readme): add unit tests