Add tests when log type is 'file'