add unit tests for qpid producer.