fixed tests for hierarchial with fcluster threshold type set to distance