@mrdavidlaing, this test is not fully equivalent as it doesn't check that data were really sent to the server