Add test for associate ip address