How to write better automated tests | Hacker News Reader