Added test cases covering error display.
Added test cases covering error display.

imxiaohui/django-todolist-1,0xfoo/django-todolist,0xfoo/django-todolist,imxiaohui/django-todolist-1,0xfoo/django-todolist,imxiaohui/django-todolist-1