added test code to capture and display webcam video