Added unit tests for humidity calculation