Unit testing measure prepare/flush.