test: add in the write overwrite tests

These tests currently pass.

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