Unit testing and API desing | Hacker News Reader