In this commit, we unit test endpoint on getting control plane endpoint and API Service IP. Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>