Cluster size check

Sync cluster_size_check test case to upstream.