MDL-43931 add logging unit tests