test case for non metadata but valid xml
reginfo
cleanup imports
more test coverage