Yes and no and neither and both. You can have a test clock that is external to the chip, and doesn't come from any macro at all. You just mux it at some point. You can have a test clock that comes from the same PLL as the system clock and shares the exact same clock tree.