simplyfy os_xml testing code
os_xml: more testcases
travis: install lcov for testing