Working Write and Delete tests