avoid NPE when logging message
testcases for client.comm package added.