handle no "public_name" field in service classification.
run unit tests on a test db using a test cfg file

this fixes bug #24.