Added 3 unit tests for modify host.