Test for inet_aton function.