In two setbacks for high school exit exams , a judge in Oakland said Tuesday that he was inclined to ban such tests as a graduation requirement in California and a Massachusetts school board voted to issue diplomas to students who had failed such tests despite a state law prohibiting that .