fix(core): add checking for moduleId beeing in module messaging scope list #SOCRFW-119
test(core): add a case when moduleId does not match any of module messaging scopes #SOCRFW-118