Testing HTTPStream's query rule