* Ensure directory before flushing cache iSSG file * Add test for prerender cache flush * Nest the dynamic route test one more level * update fetch for test * Update error check