High Court to hear test case on welfare