Remove redundant tests method.
Merge pull request #15060 from tgxworld/remove_unnecessary_tests_method

Remove redundant tests method.