Added / improved tests for set inside dg:assign tag. Part of #159.

Signed-off-by: yukaReal <yuriy.yankop@gmail.com>
I agree with that arrangement for C. I'm not sold on it for java :) I really believe it is more readable to use rangeSplitted.length == 2.