Added CaptureApi test cases