Fixing broken tests and adding three new tests for add Network API Host
Test for adding host