Copied Jekyll doctests to test.py unittests