added write verification test