testWindow is improved, childOfPath can be searched by <tag>