Fix AddressRecord target validation test

ip_type wasn't being passed to the constructor; objects were being
created with duplicate names in a way that will probably cause
validation errors in the future.