Added tests for consumer. Covered situation when message name set in
endpoint uri.