Adding unit tests for story.rb