Test case for no unwanted reexportation of required symbols

Test for the fix to the issue at https://github.com/marijnh/tern/issues/124 (https://github.com/marijnh/tern/commit/f5967aa51e7283790360930cfe63f464fdaa87ca).