added basic test for flush widget