Add some unit tests

Moved over the few things that I had defined as unit tests in the
devcards, and set up testing.
Circle