Text this: Asymptotic theory of rank tests for independence