Move test_components to own package (backport #1325) (#1341)
Contributors: Christoph Fröhlich, Bence Magyar