implemented test case for exception during demultiplexing