add messaging.auth unit tests.
add messaging.consumer unit tests.