Remove tests method for test cases when controller can be inferred.
Merge pull request #14966 from tgxworld/remove_unnecessary_setting_of_controller_name

Remove tests method for test cases when controller can be inferred.