Test for HTTP calls

Following #3089