added failure tests for (de)mux