Implemented intersectsInfinite()
Updated test cases for intersects()
Unit tests for intersectsInfinite()