add tests for log manager