[xml] Modify xml and test result checking

Signed-off-by: Matti Kosola <matti.kosola@jolla.com>