Add unit test for clusterization