Refactoring: extract common method
-- Prepare tests for advanced auto-insert pair for {