Test ValueError for length mismatch between array in classes, and probs