Write tests for getStories
Add controller tests