Test case for clustering module