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

Signed-off-by: yukaReal <yuriy.yankop@gmail.com>
I will take Marhsall's side on this implementation. Being explicit on the types is better coding practice in my opinion. Do you agree?