add test code for fast-canny.