Fix test for address type correctness.