Fix empty format_extension for path without extensions
Refactor assets
Clear cache after each test case;
Revert fix for test FinderTest.test_cached_assets_equal