Add schema_flush test