Fix base64 test and add 'r2-v' tool