Added setIP() methods. Tests pass