Add time to qtestlib tests

This is a recent addition for the xml output generated by Qt, so don't
rely on it being there.