Fixed log formatting and sqlite database for unit tests.