Add test for intersects - closes #1