enhanced get_address docs and added unit tests