Don’t forget to remove and check the pressure relief valve as well. I did a test once on the pressure relief valve in the filter bolt. Out of 6 filter bolts tested only one worked, the rest were jammed in position. Out of 3 oil pump relief valves tested 2 were sticking in operation, most people fail to test they work and that can be fatal for an engine.
On aftermarket filter bolts some were manufactured with the relief valve wrongly fitted. Upside down iirc.