[PATCH v2 4/7] mf/tests: Validate the input type in the topology test sink.