Test that setting scrollTop on the main frame works with both scroll behaviors