Finished preliminary testing, doctests

- Implemented doctests for everything that I thought needed it
- Finished getting all of the tests working for the current
implementation, I'll start writing the other tests (for upcoming
features) soonish