public function testGetMyProfiles($session_token)
{
$res = $this->doHttpRequest('GET', 'getMyProfiles/', ['headers' => ['Session-Token' => $session_token]]);
$this->assertNotEquals(null, $res, $this->last_error);
$this->assertEquals(200, $res->getStatusCode());
$body = $res->getBody();
$data = json_decode($body, true);
$this->assertNotEquals(false, $data);
$this->assertArrayHasKey('myprofiles', $data);
// check presence of root key
$this->assertArrayHasKey('id', $data['myprofiles'][0]);
// check presence of id key in first entity
}