Documentation and tests for capture

Try to clarify documentation and add the examples to tests.