adding upstream test, and getting sha384 and sha512 lined up with
upstream API