Add tests for closed and disconnected MessageProducer and ensure
exception is thrown on send.