Add doctests to test.sh