more robust clustering test, update cluster.rb