A robust test of specification based on order statistics