Add more helpers
Add test for overlaping pairs