def test_api_call_valid_body_with_utf16_text(self):
        """Test the self.plugin_class.make_api_call() function with valid body."""
        with requests_mock.Mocker() as m:
            m.post('http://example.com/endpoint', text='success', status_code=200)
            body = u'\u2713'.encode('utf-16')
            result = self.plugin_class.make_api_call('http://example.com', '/endpoint', mthd='POST', body=body) # type: ignore
            response = json.loads(result)

            self.assertEqual(response['status'], 'success')
            self.assertEqual(response['status_code'], 200)
            self.assertEqual(response['response'], 'success')
Test the self.plugin_class.make_api_call() function with valid body.
src/autogpt_plugins/api_tools/test_api_tools.py