title: How to unit test a filter that uses another filter
body: <p>I am using a filter within a filter. how should I go about with the unit test for this?</p>
  
  <pre><code>angular.module('filters')
  .filter('scUrlHttp', function ($filter) {
      return function (url) {
          var result;
          var startingUrl = 'http://';
          var httpsStartingUrl = 'https://';
  
          if ($filter('startsWith')(url, startingUrl) || $filter('startsWith')(url, httpsStartingUrl)) {
              result = url;
          } else {
              result = startingUrl + url;
          }
  
          return result;
      };
  });
  </code></pre>