adjusting write test