Added some basic unit tests for frontpage

Added tests for:
1. 200 code for frontpage
2. 'No Reddit response' error code with mocked Reddit response

Some indentation issue fixes
Renamed tests to flock-tests