Add a test:

input.scaleOrthogonalInto(1.0, output);
expect(0.0, input.dot(output)); // test that output is orthogonal.