Fix unit tests for unit_vector.