added tests for http response - with parameters