adding test feature detection to TestOnContours.cpp