added a script to run doctests