flag-controlled custom component testing

fixes #1735 
You can use `<template if={{customcomponents}}>` around this div to include it only if that attribute is set.