Add test infrastructure for components