Add test/math/matrix/quad_form.