Add a new test to test the case where the kernel involves both variables.