Added more coverage in functional tests for FlushAsync

Why was this changed?