How to write unit tests | Hacker News Reader