Test case for demux