Fixes httpserver instantiation and adds passing test.