#14 - moved over doctests for a bunch of random value checks