core: Fix tests, which found broken logic in synced folders