don't cover IO issue, fix lock name
adding an explicit check
initial commit of log module tests