test for values of similarity argument