added multiple writes test