Update StoryComponentTest.java

ensure test prerequisites exist