flag-controlled custom component testing

fixes #1735 
Should we omit this, considering the wealth of log messages it's likely to generate? It's not *exactly* an error.