Check if the container is correctly got from the Application, if requested so
Added tests for Controller::getInstance