Increasing coverage

    - Added test links when constructing for url templates
      when url are routed using namespaces
py3 support

    - urlparse was moved to urllib.parse in py3