Wait for the server before every http handler test

Signed-off-by: Maria Shaldibina <mshaldibina@pivotal.io>