added xtag.uid() and updated queryChildren method to use it.
added tests for wrap and queryChildren