Add a test to check that reads work in a watch callback

Signed-off-by: Jon Ludlam <jonathan.ludlam@eu.citrix.com>