Add more checks in the watch unit tests
Add more checks in the watch unit tests

We now verify that the polling threads are properly canceled when there are no
active watches.

mirage/irmin,samoht/irmin,mirage/irmin