Device-independent tests of quantum channels. (31st March 2017)