implemented some tests for http bakery

I'm not entirely sure about whether we need to duplicate all the bakery tests here.
I'd prefer to have tests that were centred around httpbakery-specific functionality,
because we know that httpbakery is based around bakery, so all this stuff
is already tested.