Changed intersects() and added more tests.