basemixer: Add test for port connection before link sinks internally

Change-Id: Icbc0e933dff425519107df48b5bb1e19edc0158d