Add unit tests

Config setting fields can now have an underscore instead of just
alphanumerics.