Correct, we include all the relevant Google sources in our test directory, but don't depend on any Google jars.
The dependency occurs in generated code only when custom message options are used.