Coverage and unittests - test_controller.py