Test auto-flushing