Fix unit test.

Needed to search for './/tag' -- 'tag' doesn't search sub elements.
Modularize santization tests.