implemented some tests for http bakery

c.Assert(err, gc.IsNil)