Add test for linear function (need to add a dummy call in proxy to avoid
wrong measurements with small n)