Use localhost as a test server

Signed-off-by: Julien Danjou <julien@danjou.info>