adding tests for capturing