test for flush