EdgeDetection pass function test