The test of validity is constituted by the nexus shown between the order passed and the purposes for which it can be passed, or in other words by reasonableness judged by possible or probable consequences