Fix tests compilation

Add Channel API to MockContainer.