Fixed edge difference test.