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

Signed-off-by: yukaReal <yuriy.yankop@gmail.com>
No reason to commit a commented out function. I think we should remove it from the code. If we ever need we can go back in history using git for the older version.