adding IP getter setter with tests