A nonparametric test of total independence based on Kendall's tau