add test for usage of custom component