Changed response type for console output a b64 decoded string
Updated the test accordingly