Add more assertions to a test
Add more assertions to a test

This commit adds an assert to invalid state in result file
and that a error message happens to stderr.

jan-cerny/openscap,openprivacy/openscap,mpreisler/openscap,openprivacy/openscap,redhatrises/openscap,openprivacy/openscap,jan-cerny/openscap,OpenSCAP/openscap,mpreisler/openscap,OpenSCAP/openscap,mpreisler/openscap,Hexadorsimal/openscap,mpreisler/openscap,jan-cerny/openscap,redhatrises/openscap,redhatrises/openscap,ybznek/openscap,jan-cerny/openscap,Hexadorsimal/openscap,ybznek/openscap,ybznek/openscap,redhatrises/openscap,jan-cerny/openscap,ybznek/openscap,ybznek/openscap,OpenSCAP/openscap,jan-cerny/openscap,openprivacy/openscap,Hexadorsimal/openscap,Hexadorsimal/openscap,ybznek/openscap,OpenSCAP/openscap,OpenSCAP/openscap,Hexadorsimal/openscap,openprivacy/openscap,openprivacy/openscap,OpenSCAP/openscap,redhatrises/openscap,mpreisler/openscap,mpreisler/openscap,redhatrises/openscap,Hexadorsimal/openscap