unit tests for temperature service