Added basic consumer. is needed for testing a producer
updated Producer tests. Now I use the BasicConsumer class for verifying produced messages
Added license text. Removed unused methods. Now passing tests