OAKLAND — State law prohibited Anthony and Jane Bryant, because they were black, from testifying in the 1847 Matson slave trial even though their family’s freedom was on the line.