Add unittest for server id get handler