KAA-229: add extra assert to the log test
KAA-229: add logger pointer to the profile