unit tests & IP tracking