Fixed cluster test in general graph