Disable logger initialization in the D2 controller when unit testing
When logger initialization was disabled for a unit test, a few NULL pointer assertions came up. This was because, some module commands were executed without arguments (NULL pointer objects). NULL pointers were not checked before logging arguments. This led to assertions. NULL pointers are now checked and "(no arg)" string is logged if present.