Refactored method with scheduler analyzer

Added tests for correctly highlighting method name where there are
multiple overloads where some do not define scheduler parameter.