They basically check that the i.d is correct however i believe they also check that the repairs have been carried out. (not really sure how indepth the test is). i do know the logbook will be marked up to show that it has been inspected by them.
I'm certain there is some info on this on the dvla website.