This patch updates the testsuite to cope with some changes resulting from the probes-based interface, and adds a new test. This patch is principally the work of Jan Kratochvil.