test: check read before write in both directions

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