Test that calling scrollBy on the main frame works with both scroll behaviors