Set seeds of random values in clustering test case

fixes #690