fixed bug in cluster naming
updated test example
figures generated automatically