Prune vestigial mocks from a test signature