Fixing infinite scroll test so it will pass on jenkins.