add test for addr