Add tests.

These aren't true unit tests, since they call out to the APIs and they take about 15 seconds to run...

Despite that, I found them helpful to run once in awhile anyway.