Added missing newline for flake8
Lots of mockery instead of Actually Needing A Running Server

Really running these would be nice, but that's a future challenge.

These tests pass against the initial "clean" version in 6eeb804

They do not pass now

We have regressed :(