test: check that no data is available for reading before the write

Signed-off-by: David Scott <dave.scott@citrix.com>