changed ip test, it changes depning on local or travis