Add test for ip to integer method