First thoughts on a way to tests components

So that it doesn't try and do a network request in tests respond with a
predefined html block. It can then check that the block is called with
the expected locals. The testing of the view partial can then be
properly tested in static where the template exists.