Refactor Generator test into setup func.

- Added mock in preparation for GeneratePostsHTML()
Complete first failing GeneratePostHTML() test.
First pass at GeneratePostsHTML. 

- Tests still failing at this stage. But plane’s about to land. So, meh.