adding a test for root path in the app
just clear the caches on clear! rather than replacing. fixes #10251