tscope integration doctest in progress