Yes - a modified design is, by definition, not the same design.
Hence the requirement to freeze the F9 Block 5 design for human flight.
But it does inherit a significant amount of the testing of previous versions, and remember that the engines went through several iterations during the shuttle programme.