add non-empty test for add log details and get log details