lib/address: added with tests