#14 - moving over a lot of doctests to py.tests

breaking these into separate commits helps me stay sane