Added tests for the http library.