Wrote test function for hex to base 64