Added code to offline stories to get a random story. Fixed online stories to use index of list instead of id of story. Fixed test method accordingly. Added case for when there are no stories.