Fix tests affected by changes to `repo:contains.file` syntax
Created by: tbliu98
Change tests using repo:contains.file to use repo:contains.path, after changes made in https://github.com/sourcegraph/sourcegraph/pull/40389
Test plan
Tests pass.
Created by: tbliu98
Change tests using repo:contains.file to use repo:contains.path, after changes made in https://github.com/sourcegraph/sourcegraph/pull/40389
Tests pass.