mostly working, a bug in the b64 output is hidding somewhere
fix test vectors