add failing unit test for component using template