Add more tests for LogManager.