Update test cases for flush plugin