add doctest to PMTimer class