5cfd0141dd95acd1a98a1b7f6de5b8b304077634 worked correctly with absolute import paths, but would fail with relative import paths (most commonly when passing "." in the default invocation of gowire). This commit introduces test infrastructure to allow relative import paths to be given as test inputs, along with a test case that addresses the regression.