[PATCH v3 5/8] mf/tests: Validate the input type in the topology test sink.