This patch set adds the debug switch, also, it adds the smp test cases.