Court Rules Out Terminally Ill for Tests