Fixed #19941 -- Removed sys.path hack when running the test suite.

Thanks jezdez for the suggestion.