Adds a new test_address method for testing the
imported addresses.
Partial backport of Core [[https://github.com/bitcoin/bitcoin/pull/14886 | PR14886]]
https://github.com/bitcoin/bitcoin/pull/14886/commits/fbdba40594d549c76aaf15401fe994ac5cfc4f73
Depends on D6087