Add testing script for opencv