Add a test for pull-to-refresh