A class of linear nonparametric rank tests for dependent censoring