fix: should test path matching on initial page load