Added a test which tests the JMS communication.
Improved documentation.