Fixed a bug in the test for 3d double vectors that caused it to occasionally report a false negative.