adding test helpers for handling AR in a test suite

Use theses helpers in your test suite.  They all generally assume
Ardb has already been initialized by calling `Ardb.init`.

This also includes a couple of other minor commits with some cleanups.
Read their commit msgs for the details.

Closes #9.