Fixed unit test for the net http handler.