Add nasted capture test