Added unit test for Capture Operation. Not complete yet.