Add test for cards-generator

This is testing if getRecursiveChildComponent works correct for cards