Testing React Components with Shallow Rendering | Hacker News Reader