'Test Authorize.net communication with a simple credentials check.
:return: True if authentication was successful, else False (or throws an error)
:rtype: bool'

def test_authenticate(self):

    test_auth = self._base_tree('authenticateTestRequest')
    response = self._authorize_request(test_auth)
    root = objectify.fromstring(response)
    if (root.find('{ns}messages/{ns}resultCode'.format(ns=('{%s}' % XMLNS))) == 'Ok'):
        return True
    return False
