made an automated testing function and verified the correct operation of the Temperature class