A Random-Linear-Extension Test Based on Classic Nonparametric Procedures