update tests for getAddresses