Regenerated test_vectors, fixed a couple bugs