'This test ensures that the output is base64 decoded before
it is returned to the user.'

def test_binary_ouput(self):

    content = {'Plaintext': 'AAECAwQF'}
    self.set_http_response(status_code=200, body=json.dumps(content).encode('utf-8'))
    response = self.service_connection.decrypt('some    arbitrary    value')
    self.assertEqual(response['Plaintext'], '\x00\x01\x02\x03\x04\x05')
