Consistency of rank tests against some general alternatives