tests for Temperature view helper