wrote a testing file to test the http server