Added raise of TypeError for non bytes key
Fixed TestKafkaProducerIntegration