added test and visualization of 2-dim clustering