Test cleanups in test_vector