tests clasterization