In this commit, we unit test apiclient on creating restconfig. Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>