Refactor ScrollBar test to be more readable