Device-independent tests of quantum channels. (15th March 2017)