add error case
make test cases for tasks.py(IsHot)