Adds tests for exception, logger, model.databaseconnection.