updates test to pass by flushing write buffer