fix duplicate key in test cases
address_info with primary DOES require db access
Merge pull request #3808 from seanmonstar/dupe-key-in-tests

fix duplicate key in test cases

Nice cleanup! Tests pass for me locally as well as on travis. Everybody is happy.

r+