You don't need to post the test script; everyone has them.
The problem is with your HDL. The HDL for DMux says
OUT a, b;
There are two outputs from the DMux; you need to have the output from some part connected to 'a' and the output from another part connected to 'b'.