Testing independence of proportions