Implemented unit tests which verifies that sf-infinite-scroll will call the delegated needsData function when element is scrolled to the bottom.