Add a test for QR decomposition.