How to write testable code with MongoDB | Hacker News Reader