Better bounds check for temperature in test

- Based off of special error codes via
  http://www.parhelia.ch/blog/statics/k3_keys.html