working httpserver and tests