Hypothesis testing: association with (dis)similarity data