added node-opencv based test for polygon shapes