Test that calling scrollBy on the main frame's document element works with both scroll behaviors