First pass at adding doc tests

Hello! Decided to mess around adding some Rspec tests to the doc tonight.

@freerobby @bschwartz care to take a quick peek? Would be interested to hear what else you think is worth testing (if anything). I know this doesn't test much, but seemed useful to have some tests in place.

:tropical_fish: