Prefer actually testing load path mutation over mocking.

There wasn't anything testing the logic in `add_project_paths`, so
this approach will be a better guard against regressions.