No, that's correct. 
TestBase2 part of the pact-tests Maven module which is not imported (and should not be imported) by pact-runtime.