Added test for demux