[Bugfix  test-helpers] components should have the correct template
add failing test for component without a template