Fix validateaddress non-valid addresses

Added tests as well, but disabled for now.