Reworked unit test, test vectors can be regenerated anytime using generate_vectors.py