Added tests for audioCapture and videoCapture APIs