- unit test for kafka partitioner