Unittest and exceptions controller.py