group the doctest to make it easier to read as documentation