Add tests for Sources()._setup_symlink().

Required a bit of refactoring of the functional test suite as well as
additional original function saves.