few tests added for printf
Added detection of unsupported operations on document node.