doctest Controller