Bugfixes for 54 test vectors