First pass at adding tests!

Started testing the settings module.  Found bugs in a method, fixed
them.  May bring back utils for panicerr and logerr.  Not sure.

References #1.