How does the factory check the baking temperature control on an oven?

Our oven seems to erratically heat in the baking mode. Sometimes it is too hot, sometimes it is not. Food can come out burnt or not cooked for several hours. I replaced the temperature sensor. I want to do a test to determine if the oven is calibrated properly. What [...]