Added flush test