Fix test to correctly compare result of base64