Simple test of http function