Testing numeric limits infinity