Test case for HTMLUnit issue 1663