2nd order test with two variables