work around to get coverage to work with doctest