adding test for smash subcomponents