Run doctest before move