added tests for insert and update Hosts data.