make the Testing component work with all structure types